var moment = require('moment')
var last = '2017-12-25 23:53:48'
var current = moment(last, 'YYYY-MM-DD').toNow(true)
console.log(last)
console.log(current)
console.log(current.indexOf('day' || 'days') === -1)
moment(last, 'YYYY-MM-DD').toNow(true).indexOf('day' || 'days') === -1